package com.shycloud.mido.member.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * App端购物车
 *
 * @author Xiaoxing Yu
 * @date 1/29/21 12:37 PM
 **/
@Data
@ApiModel
@TableName(value = "basic_shopping_item")
public class BasicAppShoppingItem {

	//自增主键
	@ApiModelProperty("自增主键")
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	//购买商品ID
	@ApiModelProperty("购买商品ID")
	private Integer goodsId;

	//购买曲集ID
	@ApiModelProperty("购买曲集ID")
	private Integer collectionId;

	//如果来自于上音社扫码，为上音社曲集ID
	@ApiModelProperty("如果来自于上音社扫码，为上音社曲集ID")
	private String syBookId;

//	//购买数量
//	private Integer quantity;
//
//	//购买会员ID
//	private String memberId;

	//商品或曲集单价
	@ApiModelProperty("商品或曲集单价")
	private BigDecimal unitPrice;

	//商品快乐贝单价
	@ApiModelProperty("商品快乐贝单价")
	private Integer unitGoldPrice;

//	//加入购物车时间
//	private LocalDateTime createTime;

	//
	@ApiModelProperty("状态")
	private Integer recommendStatus;

	@ApiModelProperty("谱库大全标识")
	private Integer recommendColl;

}
